package com.joysuch.wwyt.patrol.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zr
 * @since 2022-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_patrol_check_point")
@ApiModel(value="PatrolCheckPoint对象", description="检查点信息表")
public class PatrolCheckPoint extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "检查点名称")
    private String checkPointName;

    @ApiModelProperty(value = "检查点类型")
    private Long checkPointType;

    @ApiModelProperty(value = "责任单位")
    private Long responsibleDept;

    @ApiModelProperty(value = "所属区域")
    private Long belongArea;

    @ApiModelProperty(value = "签到方式(0:无需签到,1:人员定位,2:nfc)")
    private Integer positionMethod;

    @ApiModelProperty(value = "位置信息")
    private String location;

    @ApiModelProperty(value = "nfc卡号")
    private String nfc;

    @ApiModelProperty(value = "0:禁用 1:启用")
    private String status;

    @ApiModelProperty(value = "一键完成0:关闭 1:开启")
    private String finish;

    @ApiModelProperty(value = "强制签到 0:禁用 1:启用")
    private String mandatoryCheckIn;

}
